package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.system.domain.StVerificationQrCodestatistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.StVerificationQrCodeMapper;
import com.ruoyi.system.domain.StVerificationQrCode;
import com.ruoyi.system.service.IStVerificationQrCodeService;

/**
 * 核销记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
@Service
public class StVerificationQrCodeServiceImpl implements IStVerificationQrCodeService 
{
    @Autowired
    private StVerificationQrCodeMapper stVerificationQrCodeMapper;

    /**
     * 查询核销记录
     * 
     * @param id 核销记录主键
     * @return 核销记录
     */
    @Override
    public StVerificationQrCode selectStVerificationQrCodeById(String id)
    {
        return stVerificationQrCodeMapper.selectStVerificationQrCodeById(id);
    }

    /**
     * 查询核销记录列表
     * 
     * @param stVerificationQrCode 核销记录
     * @return 核销记录
     */
    @Override
    public List<StVerificationQrCode> selectStVerificationQrCodeList(StVerificationQrCode stVerificationQrCode)
    {
        return stVerificationQrCodeMapper.selectStVerificationQrCodeList(stVerificationQrCode);
    }

    @Override
    public List<StVerificationQrCode> selectStVerificationQrCodeListstatistics(StVerificationQrCodestatistics stVerificationQrCode) {
        return stVerificationQrCodeMapper.selectStVerificationQrCodeListstatistics(stVerificationQrCode);
    }

    /**
     * 新增核销记录
     * 
     * @param stVerificationQrCode 核销记录
     * @return 结果
     */
    @Override
    public int insertStVerificationQrCode(StVerificationQrCode stVerificationQrCode)
    {
        return stVerificationQrCodeMapper.insertStVerificationQrCode(stVerificationQrCode);
    }

    /**
     * 修改核销记录
     * 
     * @param stVerificationQrCode 核销记录
     * @return 结果
     */
    @Override
    public int updateStVerificationQrCode(StVerificationQrCode stVerificationQrCode)
    {
        return stVerificationQrCodeMapper.updateStVerificationQrCode(stVerificationQrCode);
    }

    /**
     * 批量删除核销记录
     * 
     * @param ids 需要删除的核销记录主键
     * @return 结果
     */
    @Override
    public int deleteStVerificationQrCodeByIds(String[] ids)
    {
        return stVerificationQrCodeMapper.deleteStVerificationQrCodeByIds(ids);
    }

    /**
     * 删除核销记录信息
     * 
     * @param id 核销记录主键
     * @return 结果
     */
    @Override
    public int deleteStVerificationQrCodeById(String id)
    {
        return stVerificationQrCodeMapper.deleteStVerificationQrCodeById(id);
    }
}
